﻿using GameServer.Network;
using Network;
using System.Net.Sockets;
using System.Text;



namespace GameServer
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Server Start!");

            NetService netService = new NetService();
            netService.Init(32510);
            netService.Start();


            UserLoginRequest loginRequest = new UserLoginRequest();

            // 启动消息路由
            MessageRounter.Instance.Start(4);

            Console.ReadKey(); // 阻塞服务端
        }
    }
}